package com.youlu.campus.entity.platform;

import com.youlu.campus.entity.enums.TaskBizType;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户平台任务信息
 */
@Getter
@Setter
@Document(collection = "user_platform_task_info")
public class UserPlatformTaskInfo {
    @Indexed
    private String platform;
    @Indexed
    private String appId;
    /**
     * 任务类型
     */
    private TaskBizType taskBizType;
    /**
     * 当前工作量,例如:分享数量,订单量
     */
    private Double currentQuantity;
    /**
     * 状态,0:未完成,1:待审核,2:完成,3:审核不通过
     */
    private Integer status = 0;
}
